package com.grass.cropTradingCenter.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * 
 * @TableName goods_package
 */
@TableName(value ="goods_package")
@Data
public class GoodsPackage implements Serializable {
    /**
     * 
     */
    @TableId(value = "package_id", type = IdType.AUTO)
    private Integer packageId;

    /**
     * 套餐描述
     */
    @TableField(value = "description")
    private String description;

    /**
     * 套餐价格
     */
    @TableField(value = "price")
    private BigDecimal price;

    /**
     * 套餐库存
     */
    @TableField(value = "stock")
    private Integer stock;

    /**
     * 所属商品
     */
    @TableField(value = "goods_id")
    private Integer goodsId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}